From 3162ff8c540aa4ebbd9d10ad0a42831f3e07b673 Mon Sep 17 00:00:00 2001 From: robertl Date: Wed, 27 Nov 2002 23:10:13 +0000 Subject: [PATCH] More notes<->description fallout. Sigh. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@181 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/csv.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gpsbabel/csv.c b/gpsbabel/csv.c index e3d9cc019..b2141d9c3 100644 --- a/gpsbabel/csv.c +++ b/gpsbabel/csv.c @@ -146,6 +146,9 @@ csv_waypt_pr(const waypoint *wpt) if (wpt->description) description = csv_stringclean(wpt->description, ",\""); + if ((description == NULL) && wpt->notes) + description = csv_stringclean(wpt->notes, ",\""); + fprintf(file_out, "%08.5f, %08.5f, %s\n", lat, lon, -- 2.30.2